xen/arm: grant-table: Increased the initial number of grant frame to 4
authorJulien Grall <julien.grall@linaro.org>
Tue, 13 Jan 2015 18:17:21 +0000 (18:17 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 15 Jan 2015 13:44:41 +0000 (13:44 +0000)
commitee0941e83c31528da06d62a9cabb9b6fef1d2617
tree30689886f203b05e4d8b38231eb0dd9dc1e4bcb9
parentf23952fbe4b84435aaa68d22cff300e3660f3aca
xen/arm: grant-table: Increased the initial number of grant frame to 4

When a domain is created on ARM, the grant table code initialized one
grant frame. With a basic load (i.e disk usage), Xen is quickly trying
to expand the number of frames:

(XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (1) to (2) frames.
(XEN) grant_table.c:1305:d2v0 Expanding dom (2) grant table from (2) to (3) frames.
(XEN) grant_table.c:311:d0v0 Increased maptrack size to 2 frames
(XEN) grant_table.c:311:d0v0 Increased maptrack size to 3 frames

The x86 code is initialied 4 frames (I didn't find the exact reason). I
think we could use the same default value.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/asm-arm/grant_table.h